﻿@model VideoCache.Server.MVCWeb.Areas.Member.Models.LoginModel

@{
    ViewBag.Title = "用户登录";
    Layout = "~/views/shared/_Layout.cshtml";
}
@section script
{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
@section css
{
    <link href="@Url.Content("~/content/member/base.css")" rel="stylesheet" type="text/css" />
}
<div class="loginbox">
<div class="formContent">
    <h2>@ViewBag.Title</h2>
    @using (Html.BeginForm())
    {
        <div class="unit">
            @Html.LabelFor(model => model.UserName)
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>
        <div class="unit">
            @Html.LabelFor(model => model.Password)
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        <div class="unit">
            <label></label>
            <label>@Html.EditorFor(model => model.RememberStatus) 记住我的登陆状态</label>
        </div>
        <div class="unit">
            <label></label>
            @Html.ValidationMessage("Error")
            @Html.ValidationSummary(true)
        </div>
        <div class="unit">
            <label></label>
            <button type="submit"class="login">登陆</button>
            <a href="@Url.Action("ForgotPassword", "User", new { area = "Member" })">忘记密码</a>
        </div>
        <div class="unit">
            <label></label>
        </div>
    }
</div>
</div>